package com.iflyun.ui.service;



import org.springframework.cloud.netflix.feign.FeignClient;
import org.springframework.http.MediaType;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;



@FeignClient("person")
public interface PersonService {
	
	 @RequestMapping( value = "/index", produces = MediaType.APPLICATION_JSON_VALUE, consumes = MediaType.APPLICATION_JSON_VALUE)
	 @ResponseBody String getInt();
	 
	 @RequestMapping(value = "/log/{id}", produces = MediaType.APPLICATION_JSON_VALUE, consumes = MediaType.APPLICATION_JSON_VALUE)
	 @ResponseBody String getlog(String id);
	 
}
